package com.syh.jn.scm.domain.supplier.event.system;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.supplier.entity.system.SupplierAccount;

public class AccountEvent extends DomainEvent<SupplierAccount> {

	public static final String ACCOUNT_PHONE_UNTYED = "accountPhoneUntyed";
	public static AccountEvent buildAccountPhoneUntyed(Object[] values){
		AccountEvent event = new AccountEvent();
		event.eventName = ACCOUNT_PHONE_UNTYED;
		event.values = values;
		return event;
	}

	public static final String ACCOUNT_DISABLED = "accountDisabled";
	public static AccountEvent buildAccountDisabled(Object[] values){
		AccountEvent event = new AccountEvent();
		event.eventName = ACCOUNT_DISABLED;
		event.values = values;
		return event;
	}

	public static final String ACCOUNT_DELETED = "accountDeleted";
	public static AccountEvent buildAccountDeleted(Object[] values){
		AccountEvent event = new AccountEvent();
		event.eventName = ACCOUNT_DELETED;
		event.values = values;
		return event;
	}

}
